package studychinese.adapters;

import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentManager;
import android.support.v4.app.FragmentPagerAdapter;

import java.util.List;



/**
 * zf 创建于 2017/3/30 15:23.
 */

public class MySeleteBasicAdapter extends FragmentPagerAdapter {
   List<Fragment> list;



    public MySeleteBasicAdapter(FragmentManager fm , List list) {
        super(fm);
        this.list=list;

    }
    @Override
    public Fragment getItem(int position) {
        return list.get(position);
    }




    @Override
    public int getCount() {

        return list.size();
    }




}
